import 'package:aweb5/generated/json/base/json_convert_content.dart';
import 'package:aweb5/generated/json/base/json_filed.dart';

class MaterialListEntity with JsonConvert<MaterialListEntity> {
	String msg;
	MaterialListData data;
	int code;
}

class MaterialListData with JsonConvert<MaterialListData> {
	int total;
	@JSONField(name: "per_page")
	int perPage;
	@JSONField(name: "current_page")
	int currentPage;
	@JSONField(name: "last_page")
	int lastPage;
	List<MaterialListDataData> data;
}

class MaterialListDataData with JsonConvert<MaterialListDataData> {
	int id;
	String name;
	String author;
	@JSONField(name: "goods_status")
	int goodsStatus;
	@JSONField(name: "auth_status")
	int authStatus;
	bool check = false;
}
